import React, { Component } from 'react'

export default class Jack extends Component {
  say = ()=>{
    this.props.updateMsg('hi rose you jump i look')
  }
  render() {
    return (
      <div>
        Jack组件 <button onClick ={this.say}>对Rose说话</button>
      </div>
    )
  }
}
